Skip to content

Update @cloudflare/workers-types to v5 - #85

Merged
cmackenzie1 merged 1 commit into
mainfrom
felix/major-workers-types
Nov 29, 2026
Merged

cmackenzie1 merged 1 commit into
mainfrom
felix/major-workers-types

Conversation

@felix-mirio

@felix-mirio felix-mirio Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

workers-types v5 drops the dated type entrypoints, so app/tsconfig.json now points at the root entrypoint instead of @cloudflare/workers-types/2023-07-01.

Package From → To Type Release notes
@cloudflare/workers-types 4.20250430.0 → 5.20261125.1 major workerd v1.20261125.1

⚠️ Needs attention

  • Breaking: v5 removes the dated entrypoints (@cloudflare/workers-types/2023-07-01, …); only the root @cloudflare/workers-types and /experimental remain. app/tsconfig.json types was updated accordingly — no source changes were needed.

✅ pnpm install --frozen-lockfile, pnpm --filter app build, biome ci . (also tsc --noEmit clean)

Notes
  • 5.20261125.1 is the newest version allowed by the repo's release cooldown (5.20261129.1 is published but too recent).
  • The lockfile diff is limited to the workers-types entry and the peer-suffix references from wrangler/@cloudflare/vite-plugin; no other package was bumped.
  • app/env.d.ts was left untouched: it is generated, contains no bindings, and re-running wrangler types would now emit ~16k lines of generated runtime types — out of scope for this upgrade.
  • Verified locally with: pnpm install --frozen-lockfile, pnpm --filter app build, pnpm exec biome ci ., node node_modules/.pnpm/typescript@7.0.2/node_modules/typescript/bin/tsc --noEmit (in app/).

/felix rebase · /felix help · close to skip this version

@felix-mirio felix-mirio Bot added the dependencies Pull requests that update a dependency file label Nov 29, 2026
Rebased by Felix onto 4a5ccda after 4a5ccda Routine dependency updates; pnpm-lock.yaml regenerated.
@felix-mirio

felix-mirio Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto 4a5ccda after 4a5ccda Routine dependency updates. The only conflict was in pnpm-lock.yaml, so Felix merged the base in and let the package manager regenerate it, keeping the newer version of each package from both sides. CI runs again on the new commit.

@felix-mirio
felix-mirio Bot force-pushed the felix/major-workers-types branch from 0b34e92 to 68015ad Compare November 29, 2026 06:31
@cmackenzie1
cmackenzie1 merged commit 31f77c4 into main Nov 29, 2026
1 check passed
@cmackenzie1
cmackenzie1 deleted the felix/major-workers-types branch November 29, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant